Made a MainConverter superclass
made RDBConverter more generic