Initial checking. Only the ajax() function is included so far.
not quite working yet, but closer
still not populating from db, but closer
still in work