use moduleName instead of name for find project
Moved findProject code to ScalacOptions