Server client parse with design patern