add hapi framework