cleaned up tooltips by moving functions to toolltip module, added caching for new tooltips