created container object for functions. corrected addLogs function and added deleteLog function.