Ruby application for ctd registration