Extract different servers to their own files
Add a unified config generator
Use a custom api
DRY some template related helpers