move settings into its own module