Added core game logic and main files.