[LYSEFGG] Full implementation for mafiapp sample related with Mnesia.