test
refactoring db driver
deal exception
fix build script