Added Time class on server.js