added composer.json and updated TravisCI setup