Make routes into a class. Set sesh domain name in server.