replacing object  by package.scala and companion files
replacing object  by package.scala and companion files