Pages division

Closes #8