Refactoring type families with name ProtoArray.
Added a transofmer's version of PriorityQueue.
Added module EventQueue.
Removed unused import.