separating query association column into own model and updated comments on lib files