Strangler pattern, a powerful simple concept to do refactoring
There's already been tons of discussion here on HN about rewrites.But, for the love of programming, please seriously consider this gradual rewrite/strangler pattern/whatever you want to call it over the often disastrous complete rewrite.