* implemented SplPriorityQueue for priority sorts.
* enabled caching for config and extensions.