Add formatting tool

Closes #3