set up architecture and views