Refactoring, readme typo, PHPUnit test, travis ci