'new' subcommand, CI and minor fixes