leaflet module, profile refactoring