remove unused imports
implemented simple metrics provider