Currently I am on a team developing a new stand alone application in C#. The eventual goal is to roll this stand alone app into a previously developed larger application that pertains to the same processes.
My question is this: I am looking for information on methodologies or processes that help with A) Design of said newer code, esspecialy when the older code isn't the best most maintainable system, and B) integration of said newer application.
Obviously there will be nothing specific out there, our applications are unique in design and thus will have specifics no methodology can help with. I am interested in getting some good general knowledge on the topic however.
EDIT: The suggestions so far, Refactor the old code, build the new code as a container for the modules, and cover the old and new code in unit tests, are all good practices in general and are things I practice when possible. It seems to me though that these would be individual parts of an over-all methodology.