Added event to map for when route is attempteed changed. Also fixed incorrect routes on load
Unit tests for planner