Option to put config in application-level params

Other formatting fixes