An encapsulation of expressjs