fix lookup for non_dir_routes
add route for dir_routes
finish settings controller - for now