Added functionality to load a saved state from the server. Checks if saved state exists on server. If it does it is loaded, otherwise it loads a file.