Using podspec to specify data model as resources