refactored api module. added abstraction and switching to soap client and not using zend's soap client due to complications.