Started work to sort by class
Added event posting

Yikes clean this up eventuially