Add k-means clustering for pagination area.
Issue #3
Refactor. Separate classes.
Issue #4