Moving away from xml applicaition context