Too much to list. Various updates and imports.

Mostly related to setting up database on first install.

_pdo now has bool $conencted which tells whether or not db connection was
successful.