Added command registration system and began adding initial commands for events.