ScalaStyle added. Format and warnings resolved