Update gitignore
Change handleMetric to parseMetric.

parseMetric() now returns a Metric struct which simplifies testing.
Add initial set of tests
Add initial set of benchmarks