serve: remove old __main__ code