changed hours into minutes in the queries
added status query, issues with search type mixup
added wiping feature, cleaned the database structure, added simplified queries, cleanup