Added the log class for logging purposes

Also able to save the ini file when changes to data are made.