Converting lout into hapi plugin