Added server side and client side definitions, where root of code is always shared.

client {
 // Code
}

server {
 // code
}