removed functional java dependencyinstead using https://www.vavr.io/, which is supposed to be faster (commit: dd6892a)