fixed various things + added player movement