add gitignore, fix base directory problems, fix sbt build