Local data pools implementation

- Moved some DB types to the common types header
- Implemented DiskDataPool and MemoryDataPool for local data storage