Fix some appends on stringbuilders
Use foreach loops where possible
Use StringBuilder where appropriate
Remove a bunch of redundant type info
Remove redundant abstract methods
Use java 8