Began adding a command line interface.
Added a bunch of features to cli
Tiny bug fix in cli.

Made a bunch of exported functions "extern" in order to facilitate
multi-file builds that all use darm.h