refine the layout
DomainService component DONE
add QueryRepo component explanations