Add mnesia, and query