Removed unused views, cleaned some code and comments, migrated default values for tables, and added reset fuction for users.