Inital command line tool implementation