Cleaning up the sbt-plugin

Next step is to either define a specialized task to format before compilation, or clean the rest of the code (better interfaces in model etc.)