added RestAPI mother class