delete deprecated and add database provider
Merge pull request #20 from baijian/master

delete deprecated and add database provider