Removed flatdb
Worked database out