added simple routing and made simple layout