Formatted all existing classes to be more readable.
It was a mess from the port to IntelliJ.