adopted some new underscore helper functions
unified finalizers and error handlers
implemented basic request control flow unit tests