New library for REST API