Added some vars for the commands.xml (see wiki), added a simple permissions system, added some methods to messages.php, reduced the warnings printed in the console by modifying the bot.php