Travis-ci and tests
location&history refactoring