Adding REST api classes