Asset improvements

I revived the new asset management and made some improvements. Mainly no to publish all files but only dist in asset bundles.

related to #5083