Redesign from class to define for application monitoring