fixed code intention
reindent travis.yml, added new travis structure, reworked composer.json