creatingRoutesAndDirectives