extracted  CRUD creation and added "asPromise" Function addition