Added metric saving.
Merge pull request #55 from Clashnia/hqm

Added metric saving.