Separated require config and app logic.