fixed folder sync issue assigning default permissions settings. dmode set to 775 fmode set to 664
merge cleanup. added   _* to .gitignore
updated base code