Updated structure of code to allow for easy addition of logic that draws multiple circuits on the map at once.