Moved tooltip and points table func to separate file