support web context class and add web module support