create database structure and some functions without test
Merge branch 'master' of github.com:longruiliu/ECR