DB structure

Current DB structure.