added cerebro cli and some small changes