devide local functions into hcsm-basicfuncs.el
devide huge main function into some sub routines

and encapsule some valuables into defun.
merge hcsm-set-basepath.el into hcsm-basicfuncs.el
fix lack of '
make folderinit actually works
Merge pull request #11 from c01o/fileinit

Order and refactor scripts