OMG a CLI

Read the comments in the commits for an in-depth explanation.