creating sub model for properties like 'items' when container model is getting created
minor changes