Added the configuration parser.
Implemented the bot logic.