Finished working on file system monitor.

Also refactored the event classes.