server script migrate to express module

close #3