log - functions moved to error file.
errrors - work on setting up better use of error logging.
todo - added list.