fully implemented user api

*phpdoc: JSONParser, API, APIObj
*commented: index, API