refactor to reference mnesia table names from leo_manager