Merge pull request #2 from mgbelisle/namespace_endpoints

Namespace endpoints
Running go fmt on metric.go
Merge branch 'master' into digest-2

Conflicts:
	app/metric.go