reworked file to seperate modules and added test for player movement