Added CLI interface

Change-Id: I97fed7332ed4985d17bce3c21cef0ed504b62b88