initialized REST API