implemented query to server to execute commands
display output
improved completion handling (still to be done, though)
SSE stream for output from server