updated docs, added tests, and trying to integrate travis ci!