started work on URL path as function composition
some refactoring composition by url path works