Initial commit of bot code.