A middleware framework for node