Use SQL to get max userphrase frequency
Set PRAGMA synchronous=OFF
Refactoring database creation