insert.php: Bug #8

Factored out connection strings to components/connections.php per #8