fix directory.js to use the correct mountpath

When using directory option, all the routes were being mounted on with their base route being relative to their physical path. I just removed this to use the router directly.