Split up MapViewer module in files