Move asset generation to it's own class
editor js
Move report writer to separate class
Fix modal, support metadata