Remove unused database related files
remove unused files and refactor disk_command library;