turning the resource classes into defines so they can be used multiple times for multiple of the same resource