added map resource class.