Adding travis badge and modifying the travis config file
Creating an api instance