move context configuration into files