Added various functionality for jabber.
Moved jabber funcs/settings to its own file.