fix scalacOptions and warnings
Merge pull request #4 from xuwei-k/fix-warnings

fix scalacOptions and warnings