working on getting some basic php/json

so far stops are in progress. entire api will be similar in
functionality to that of the database manager type from the desktop
application.