Added logging service and worked on appending to a text file