Adds resource model