add an factory example
add exmaple to bridge pattern