Input parser
Fix speed/position and other stuff