splitting conf into conf and vars for better handling of static variables