more dependency clean up

There are some classes in the core-api module that can likely be moved into
metrics-core. I need to review them and can address it when splitting the
in-memory and C* impls into separate modules.