Made _next self-invoking, allowed createRouter to accept an object of routes on creation