removed config dependency if used as express sub-module