externalize webapp in a module