Fixing the paths and the module inhertance