Improvements to error handling and logging

Fixed to not die service on network connection error.
Changed to catch any error when exchanging files. When the error is unexpected, will log error and finalize service.
Get rid of all magic numbers to EventID.
Setup AssemblyInfo.