Hi,
A long time ago I followed a topic with similar subject. Not exactly your case but maybe you can found there some tips.