database layer; edit

added few more methods, regarding the connection string change.
database layer; connection class

added code which can write to a xml file. where it's storing the last
known connection string