move configuration creation to other class
simplify code
add sbt script to simplify compilation, ...
remove dead code; code layout