Added config for require. Added moment for date support