Added RHT code.
Added tests.
Added travis file.
Updates to README