Move ResourceType, ResourceLevel, and TechnologyLevel to separate files