restructured api for absolute adherence to crud