added new hapi weight tracker working sample using the modified hapi
merging with old code