Making a start on the movement code.