Finished topology

- Plan of path-finding function, may be needed for future development as
separate instrument
- Need revision (separate topology from rft_handlers.c)