minor changes - imports, case classes definitions etc

I've fixed some minor issues shown by intellij: issues with import(package naming), removed `val` modifier from case class definitions, removed `final` modifier from object definitions etc.
@szeiger, @cvogt Please review