Refactored the model code
Refactoring upload_download
Moved WSFileResource to WebSync::FileResource
Changed WSFileResource to be WebSync::FileResource and updated tests.