added travis support
clarified code comments