don't keep multiple associative arrays with module functions. We can determine them as needed.
change output of retropie_packages to show index and module id. since we are not hardcoding the index, it's possible they can change
so it will be a good idea to be able to use the module id