Setting up SBT config, cleaning up directories etc.