added doc, removed dependency of jade