improved sbt build, started chapter 4