proso.models.environment: improve relations among items
adapt changes from proso.models to proso_models