Adjustments to player movement/position
Split JS code into a few files