minor server clean up
added documentation for database util functions
added documentation for the database resetting script