Encapsulating the icon font into a class