Added basic workings of a listening server