Warning cleaning

Closed #2. Also added .travis.yml, so we can start with #3.