Core dust graphic system rewritten to commonJS