#6 All Client functions + Sync Server

Adding functions in client side and synchronised server