minor tidy up
Add metrics class

- Takes a name, adapter and adapter paramters
- Refactored graphite adapter to take a parameters object so
  that future adapters can take more than one parameter
  when they query