add scalacOptions for deprecation, unchecked and feature; and specify container port for easy customisation.
fix warnings and deprecated calls
remove unnecessary package braces
remove _root_ prefixes for import statements