Removed unused, never implemented, and heavily out of date db class. Added all necessary components