So you want to rewrite or re-factor your application