Paths refactory

- moved path creation to a new function
- using dispatcher for each tooltip
- reused tooltips