Adapt to config format changes
Remove old server constants
Use new path handling helpers from Context