Rearranging file structure

Connection and document upload classes are put in a helper folder.