Elaborate setup and usage in readme
Add some tests

Also slight refactoring for clarity.
Add nosy for test observation
Add travis config