more work and added logger class

Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>