server update
implemetation tested
API advanced
#7 #5 #6
close #7