Refactored some AdminBuddy io stuff into core libraries