Modified review and db

Added TODO comments to functions in db.php as well as removed alerts and
echos. Also made a call to the loadFile function on first load of the
page, instead of repeating code.