fix test and add travis ci
fix comments
fix comments and fix tests
add composer json for packagist