create logs_manager, take out create_logs_array method from helper and put in the manager.