Divide database class into 2 versions
Add database tester
Update the edit window's architecture