Routing works for toplevel

routing works for top level now.. need to add regex to make it work for
main level