Refactor and chili

Adds configuration via ini file instead of command lines, refactors Jabber functionality to base class, adds a chili activities listener.