switched to an XML structure
removed some DB related stuff
(re)-added a few category api settings
reformed tags to XML
updated all model like parts to xml
made a begin to save
moved all fetch related parts to domdocument setup
added json output option
added api tester, hard needed
json result only from now on
json give var type back
error testing