making app properties injectable