Add rtl mode

Address #31