move require namespaces to routes
util