Add resources model and resource