refactory calculate phi
add tests of ellipticArc and ellipse in runalltests
create new messages
implemented some methods of Command Factory interface