added some properties to models,
logic adjusted
tests added
added initial logic to a row solver