Started adding a foundation for stats collection and a stats URI.