Updates Maps api, and Initial partial refactor of leaflet maps. Adds pp.js