Formally Modeling the Architecture