add README.md and metrics.js with associated tests