closes #18, adds support for travis-ci