Add console output class and travis.yml