Adding database flavor support

Add support for flavor's list and retrieve operations.

Change-Id: I0eedc7f8aba66b0ea14c5014fc796b4e2fde347f
Merge "Adding database flavor support"