refactor(hub-map): removeFacility function
refactor(hub-map): extract methods