Optimize
Fix bug of database
Fix bug of popstate event process
Modify code format
Fix public definition file
Refactoring DATA Layer