Added paint and svg elements
added paint to cml_core.as