Small database revision
Add missing methods on the database
Remove odd debug