Added MainGamePanel.java and MainThread.java