Refactors sections and adds multipage layout