creating a simple api in zend