added db structure
need to finish