Implemented the create,update, and get methods in DeviceManager