Add mixin for basic crud db operation

Change-Id: I40a70f59d093dba42e8ec22e6b7f24e122bade53