* Started refactoring of purple client

* Added callback functions for most purple signals