I don't see an ecological hazard either. Looks like your posting host is in Naples, FL, at 6 feet deep I guess you are lucky you did not hit water since last I heard the average elevation of Florida was 2 feet
-- but that's average and you must be higher.
As to all this code stuff, yea, be careful about putting lint and dirt into dirt. :-) Insofar as codes, I think a lot of it has to do with how much we want the government to micromanage our lives -- a government more interested in collecting fees and permit costs than anything of great "common good". Probably the worst pollutant you are putting out would be phosphates from the detergents.
I would SWAG that you saved about $300, but am sure that you easily could have paid well over a $1000 for the job depending on who you hired to do it and what they used.
Congratulations. Not only did you save some bucks but you have the satisfaction of knowing that you did it yourself.
(For years I have seen the "what is your time worth" arguments. I wonder if these people calculate how much it costs for them to sleep each night.)
FACE