move gmap init to module