Added constructor
Fixup last 2 commits
Fixed travis config: do `composer install` before script