Move app config to a dedicated file+class, make all parts use it