make new config system

We need to make the config system better, instead of doing it manually. Maybe use something like `confmodel`?
Rather phrase this is "Maximum number of groups returned per page" and similarly below.