First pass of code quality fixing. Unfortunately this commit is a necessary evil so that we can easily develop as a team and have a clean git history in the future.
Use maven libraries where possible and fix a few missed formattings.