Got events working and a simple page loader