first working model parsing code from cfg file