Added event priorities, command management, organized events, and 
updated javadoc