added path validation checks
clean up and made optimization to changeAndAddChildrenToRoot function
moved around variables in directory and createANdAddChildrenToRoot, some poorly places, reduced number of parameters for createAndAddChildrenToRoot
changed dropbox authentication code