Add icon-loading/caching function
Add support for icons and a test script
cleaned up bundler script