Adding doc to main class + initialise travis-ci