refactor 'cursor-mode' functions into own class
resolve filepath code with new lookup behaviour