register monolog in main class