Added REST API class