As stated in the title I removed the ac , and the egr vacuum lines and tree, and charcoal canister. I had removed the actual egr and smog pump and wanted to free up space under the hood.Immediately after, my car felt like it had a misfire, and thought it was a plug wire I removed to take off the ac lines. Then I noticed oil on my headers, and a slightly loose oil filter. I fired it up and it sounded like it was running on tak cylinders. 20 minutes later it idled and revved fine, but shut off suddenly while idling. I ran the CEL test and got a code 511, what does this mean?