cleaned up Main.as as Mavin.as takes over functionality