I'm looking for a dictionary application to improve my english (and maybe my german). Contrary to usual dictionary applications, I want it to be empty! I should add there new words I learn toghether with a translation, maybe with some annotations.

It would be a plus if it had a quiz mode, where I'm asked to translate random words (in both directions).

I actually wrote a web application just for this (for german) and I guess it would be a matter of an hour to adapt it to english (just remove some details like the genre, conjugation of verbs...) but I wonder whether a ready made program exists.