Refactored, and reimplemented. -log moved to independent class -LoggerOutput -LoggerInterface

Signed-off-by: Szendvics <eandr2@gmail.com>