Added conversion functions from/to thunks and promises
0.2.0