Initial server impementation with click functionality