Added config file, changes to module api

modules are now registered with register(bot,*args)