Add the ResourceType class
Parse upto ResourceType