code update for latest express usage

Made the necessary modifications for latest express basic usage. Ran
the yo express, and found the generated application to be working as
expected.