title: main method not called in Play 2.1
body: <p>I have this main method:</p>
  
  <pre><code>object init extends App {
    override def main(args: Array[String]) {
      Logger(classOf[MonitorLoad]).info("main()")
      val monitorActor = Akka.system.actorOf(Props[MonitorLoad], name = "monitorLoad")
      Akka.system.scheduler.schedule(0 seconds, 2 seconds, monitorActor, Tick)
      Logger(classOf[MonitorLoad]).info("Done setting up actor")
    }
  }
  </code></pre>
  
  <p>(It sits in the <code>Application.scala</code> file in the basic app created with <code>play new</code>)</p>
  
  <p>I see that this code is never called - my logs aren't printed, and the debugger won't stop there. Why is that? What is the correct way to run code at the start of a Play 2.1 app?</p>