Implemented simple layout and router