I'm now writing the connection statements in each and every time when I want to insert, delete, update or select I bet that's getting old, isn't it? One good guideline in OO design is to avoid duplication, which among other things means any copy paste is suspect. Are you comfortable making your own new classes? Think about a little class that does the connection work for you. It can read the configuration once, and remember it all day long.
If that much sounds worth doing, show us what you make and we'll talk about adding more nifty features.