[sqlite-backend] implement sqlite backend in c++11