Making config app much more flexible