removed addView doc
adding express engine function binding to constructor