added an itemmapper test
added phpdoc file for api generation