Initial In-Memory Metric Store

There is a lot of room for improvement, particularly in the realm of simplifications and such.