Command line app

This pull request adds a command line interface to the library.

Note that it requires (and includes) the appstatic pull request...