Using configuration instead of path mapping
Made configuration a module configuration