Added getValueTransform
Support arbitrary options
Replace key argument with options object
Remove uneeded dependencies
Get result by codehash instead
Check if result exists in db before creating run request
Trim code