Remove fail function since Future got Future.rejected
Propagates action cleanups
Parameterise the modules (Fixes #3)
Bumps to 0.4.0