Added new functionality, prettied up resolve output

* Added new `listFormats` functionality
* Prettified `resolve()` output
* added tests