[#3] Adds initial commandline support

Needs tests writing tho, and perhaps an update to the README on
how it works
Merge pull request #15 from caprenter/master

[#3] Adds initial commandline support