seperated conf from app controller