Added logger
Added id private member variable