make 'deferred' objects into a class
Merge pull request #12 from nathan7/defer-class

make 'deferred' objects into a class