Filled in the rest of PretentDB. Now its the small debugging stuff.