Refactor/layer creation into modules maps 49

Moves geojson layer creation into a separate module with tests