Added intended route filter control, modified how intended routes are communicated to layers, put intersection filter in seperate function