implemnt architecture and sample ui