Add routing to the directory controller
Have directories urls indexed by id instead of full_path