Fixes and improvements

* First try on using Guava's Splitter functionality
* Added SBT gen-idea plugin for IntelliJ IDEA users' convenience
* Corrected `Main.scala` encoding
* Minor fixes