added travis and switched to c++