add composer, license, etc, fix code style, change travis