buid basic architecture