Adding extend and init methods into our particle and particleSystem objects.
Divided system into canvas-based and DOM-based, with shared baseparticle and particlesystem between them.