Added command line interface.
Initial documentation.