Upgraded to Hapi 2.1 and implemented hooks