updated LogFile class

- transferred creating of centralised log file from Logic to LogFile
updated Logic for logging

-also created 1 more condition for adding tasks