input added (not finished) - todo : add friction on movement + time based update and not framebased