Setting up the architecture.