moving appconf settings into models