Made changes to assemblies

I added so that we can add the assemblies to a Map. We can now get all
the assemblies from ID and then get all the elements. It looks like it
works correctly, but there are some bugs to fix. It looks good for now,
though.