resetting database functionality added. Fixed #17 Closed #17