added the first version of the polling server

Signed-off-by: Sanidhya Kashyap <sanidhya.k@gmail.com>