Added the logger class and its unittest

Added the singleton_meta_class used in the logger