code cleanup + added comments and documentation for AdminClient and Listener