use the assets in packages.json

Assets in packages.json is now used.
You can now choose the version you want and the file you want.
Separated the logic to their own components (having the class that called the API insert the tag as well didn't make sense to me)