Using Thor for CLI

Signed-off-by: Aniket Pant <me@aniketpant.com>