Added a method to delete the database, bug fixes, semi-functional UI.