Circular dependencies with all the FIXin's

- DatabaseAPI tweak
- Removed unnecessary DLLs from SQL folder