store triggers in mongo
tug client
optionally run script from command line w stdin client