Create switchMain.scala