Implementing a RESTful API and the DLMRecord class