Created IronFolioModel class and moved functionality to it