Adding constructors and destructors and uploading files