added settings command for setting startup duty and direction
more optimization in phases switching (register variables)
added variable length packets
added python library