Server class

I added a server class to get server time.
revert this file, it shouldn't be remove from repository.