Refactored a bit. Move co-ord system to (0,0) being center and started writing in key handleing.