added db structure and configuration ready to oil refine