Added function get_pagination()
Now more MVC