add composer.json, change travis configuration