Structure rebuild.

Everything still works the same except with a lot less including pages.

Also updated the add.connection.php function to create a directory
/core/config if it doesn't exist yet.