Replace nested "db" object in config with top level entries.
Change index.php accordingly.
Add route to get api configuration.
Add route to post api configuration.
Add function to write a json file.
Add install/config template.
Add api functions to get and update the configuration.
Separate host name from config values.
Add route to update configuration.
Add function to write a json file.
Add styling for config template.