[#46580317] continued code refectoring
[#46580317] Refactored: Extracted log creation class
[#46580317] separating code into classes, and removing duplication