added comments for each server function
removed the database file, because it will be created by the "createDatabase.js" script when run under node