REST API Layer and its Responsibilities