Fixed the build with SBT
Various changes to attempt to be able to debug the application in Eclipse