Is it pair-by-pair or just app-by-app? In second one you could make it viadatabase, in the first one also, but would require a lot more time to make itok.This is the first way that comes to my mind.