Split paginator.rb file