added new Taffy DB and refactored a lot of the code to use it