added support for resume upload (under 16MB)
cleaned up the code, separating out the model from the controller
cleaning up the remote