Restructured to create a HydraServer object