updated to hapi bolierplate