Working relative implementation.
Added travis-ci config.