More work on ModelBase class
Added ModelBase constructor call
New member variable in ModelBase to store number of periods