Added KML shapes and beginning of selection code