Fix travis.yml
Update gem dependencies
Remove old files
Fix http request response
Fix code duplication
Complex code cleanup