Application constructor requires url mapping to be defined