Added implementation singleton pattern and log levels

Signed-off-by: DVKoshel <dvkoshel@gmail.com>