making module task smarter because now it extracts the Namespace from the Router file.