Permissions of the rsynced files are set correctly now. Added additional logging output. Collect ssh and rsync output and check for errors. Added docstrings. The EventHandler class is now in a separate file.