the bot is now an Object

fixes 4, refactoring of the code, the bot is now an Object and multiple
bots can be created