comments/method documentation; added quit in movement input;