Started refactoring blog engine: proper pagination