added log_utils
refactoring fltm_main