Added command line interface and scripts