FLOE-207: Refactored the tooltip subcomponent

Refactored the tooltip subcomponent into a separate grade.