Added pagination to Model class
also improved ForumController URI parsing