Added Client and Server Function

Added Client, Server and data Serialization
Fixed server side