Converts syntax to `utils.addMethods()` style
Updates code style
Updates dependencies for the `metric` module
Adds in a `utils` module