maps and histograms working deploy 1

This is the first version that could be deployed