Added basic bot functionality

Still untested, though.
to test, run: python bot.py