create toServer function and add it and merge with master
create toServer function and add it and merge with master

frontend-park-mail-ru/2016_2_Unpredictable,frontend-park-mail-ru/2016_2_Unpredictable