Add logging to file
Remove unused file
Implement command for database clear