Implemented a base layout and partials