Testing and errors

I added a terminate function to the local tester.

I also added logic to allow multiple attempts to create directories on
startup.
Logging improvements

Added a new logging schema.  Creates a socket server and logs the files.
May centralize error logging.
added vim swap files to ignore