Seperating mainapp and combat