Re-write of many cache functions

- added new files class function to set a new file with content
Added server name based config files

- allows for different config settings based on the server name