Initial pass at making botmate a command line utility.