added db structure for course