Added the manager class to deal with file saving