call appconf from models instead of from init
appconf is now called from models instead of from init