added caching for stops, and got all the different types loading from xml.