Database reset

Create a database reset functionality.