Create Handler for Shell and move all operations which need syncexec there