Update config.py

Change documentation to specify types

Declare self.observer and self.event_handler in __init__, without assigning

Change usage of self.bot.instances to self.bot.connections