added docs, fixed travis.yml and removed deprecated code