Fleshing out basic architecture