Setting up basic architecture