Adding .travis.yml and editing README.
Properly implementing get and set format.