added basic structure and resource models