Add resources and resource model