Library for AWS SWF