added all family query fragment logics and design
merge commit