enable Travis CI and add license to close #4 and #5