xively

moves xively head calls into xively file