Bm programs - map integration

Adds rough outline of map functionality. Still needs to be moved into a short code. for use in the content editor.