Refactored some things, flipped y axis