Made a player class (and moved relevant code) and made a fallingObject
class