Moves mockdb to db package
Implements file deletion