Display information about mod/ref in a more organized manner

See #50.