Clean up code and empty database.