moved resource type to separate file
moved reource type to separate file