Code cleanup.
Web.py web interface for training. Presents prompt to the user, receives the command from the user and gets the next prompt. Still need to operate over the prompt so that on failure, the next prompt is actually the same prompt or on success the next prompt is a progression.