update composer.json
add license
change interface
add travis and phpunit setting file