Revert "remove mnesia"

This reverts commit 1122c6c6a1e604b69831758cff99b3a95b0225a8.
requests per minute counter