Server class

I added a server class to get server time.