Made code more mature.
Added travis tests.