Started on settings read/write

At least for now we can keep tack of cur_dir = working dir for opening
files
Added logfile for pythonw execution