Convert directory to use routeify