Seperate files to core and screen
Restrict the usage of globals