abstracting all the commands in the event admin to objects