added pagination for index and added file .travis.yml