Sbt project

Root project now compiles and tests all projects (main and samples)