Refactor CLI

Paths info written to stdout are always relative to cwd