Clean database class
Use new views for selects
Improve dbView as interactive view of DB
Fix bug with RunType
Connect to DB only once
Run 953 is also old style
Import database definition and creation and view SQL queries