Scalafied network handlers and put them in handlers.scala