Renamed DynamicMBean class name, used logger for error statements, and added additional comments