Finished framework from data client to DB

Signed-off-by: Hao Zhang <hzhang@turn.com>