making haskell more readable and removing dependency
making Java more readable