implemented connection policy for draw2d, updated reame