Finalised game logic, removed template files