change pre-commit.sh permmision
add server demo code