starts refactoring
tidies up function calls by giving each class reference to game