add server scripts
add comments
add comments
add comments
merged the two files, added comments