moved configuration out of app