migrates code to hapi 6.0.1
migrates tests to hapi 6.0.1