tcp server & grid-initialization