added server req
wrote main
everything except handle_connection done