changes to record functions mostly, not done yet
added back in DbHandler.php which is used on front end to display databases, also unfinished tweaks to record display