Added server subscribe function
Added gitignore
+doc