Separated the python code into WebBot (loads the index page) and WebBotGenerator
(provides the generator for APIs)
Imported the jquery library in index.html
Used jquery to add to the javascript in the web page. Added forward, left, right
and back commands that send POST commands to the WebBotGenerator
Added the buttons in html that are coupled to these commands
Tested it and was able to move the robot around using the buttons