Added cli interface