Rewrote bird-cli as an object