changed the constructor of express to the modern one