Removed ActiveArray. it wasnt working out.
Finally fixed the router so that it behaves in a sane way 99% of the time