Refactored remote shell to improve service handling and concurrency handling. It probably still could be refactored even more, but I don't have the time.