Started moving to QuadTree. Fixed class filters.

Started implementing the use of QuadTree for collisions and rendering for increased performance.
Switched from Object[] to Type[] for class filters.