refactored to update to Hapi 8.0