fixed camera issue with background
improved jumping logic, so it wouldnt glitch when jumping against a wall.
refactored player logic into a super class to use for enemies