added resources, models for all; made definitive ERD