make ScalaMain extends from App