Added my working database refactoring file

if yall wana see it, was gonna do it when it was done anyway