Add "config" subcommand; add Makefile.