Control the bot through the browser

This is very rough code. I just wanted to commit
what I had used for the video here:

http://d.pr/v/K6n6