refactored rails support. added dj support. added multipart upload method for faster transfer