refactor gazetteer-web init routine classes