import models.Stats;
import play.*;
import play.libs.Akka;
import scala.concurrent.duration.Duration;
import akka.actor.ActorRef;
import akka.actor.Props;
import actors.*;

import play.Application;
import play.GlobalSettings;
import play.libs.Akka;
import scala.concurrent.duration.Duration;
import akka.actor.ActorRef;
import akka.actor.Props;
import java.util.concurrent.TimeUnit;

public class Global extends GlobalSettings {

    @Override
	public void onStart(Application app) {
 		ActorRef myActor = Akka.system().actorOf(Props.create(UpdateDbActor.class));
 		Akka.system().scheduler().scheduleOnce(
			Duration.create(0, TimeUnit.MILLISECONDS), //Initial delay 0 milliseconds
			myActor,
			"hello",
			Akka.system().dispatcher(),
			null
	 	);
   }

    @Override
    public void onStop(Application app) {
        Logger.info("Application shutdown...");
    }
}
@@ -1,25 +1,4 @@
-import models.Stats;%0A
 impo
@@ -5,17 +5,22 @@
 rt play.
-*
+Logger
 ;%0Aimport
@@ -207,127 +207,8 @@
 gs;%0A
-import play.libs.Akka;%0Aimport scala.concurrent.duration.Duration;%0Aimport akka.actor.ActorRef;%0Aimport akka.actor.Props;%0A
 impo

Remove imports in Global