Initial code dump from hapi