Initial commit
Fixed tests. Added travis.