Modified donor code controllers  to serve as rest services(#209)