Adding cli config option. Mostly copied from Lineman.

Resolves #11, #23