Added ability to log to Windows Eventviewer

Added class LogEvent to log activities in the Windows Eventviewer. Also
created a seperate internal class 'Settings' for managing configuration
settings.