added tables, some fields still missing and cruds not tested.