Fix naming errors
Fix: Incorrect database version written (again)
Implement proper server statistics
Stored procedures are no longer used
Make class names more readable
Minor fixes