Fixed a path issue due to express 4.x migration.
Fixed deprication warnings.