Facility type

@zmyao88 please review and merge