Now works.
Added travis ci stuff.