Log refactoring
Moved xively client to the framework