Added Collision detection. not yet complete. Using Quadtree implementation. Added callback when obj added to layer.
Quadtree collision detection complete. Working on pixel perfect detection

Quadtree detection with immediate sprite changes is efficient and
smooth. No problems until now.