Adds Thrift communication and docopt interface