setup Pwd/Generator for web's module classes.