fix compiler warnings. refactor sbt project settings: remove duplicates