Restructure: add object-oriented classes in patterns folder, as discussed
Add pagination to patterns.