new initd script.
merge with develop
Merge branch 'develop' into issue#3
jsvc support added.fixes #3.
Merge branch 'issue#3' into develop