moved initialization inside the setwriter method
Modified the persister so it uses the FileManager. It no longer accesses files itself