Added json library and a ServerOperation class to handle requests asynchronously