refactor the script and start to remove the wsadminlib.py
fix the bug in share library section
update the properties for share library