Modeling The Unfolded Protein Response And Its Connection To Cellular Stress