First version of the server used for bus stop case scenario