add metrics managerapi facade, tests need improving