I've created three new classes; MainThread, MainGamePanel & Rectangle. The MainThread gets constructed in the MainGamePanel and contains the game loop. The MainGamePanel get constructed in the GameActivity (MainActivity from the last commit) and handles inputs, updating and rendering. GameActivity sets MainGamePanel as the screen where the game will take place. Rectangles is placed in a new package called "Objects" and represents the objects the user will be able to controll.