Add barr.c

Signed-off-by: Eddie Ringle <eddie@eringle.net>
Simplify license header

Signed-off-by: Eddie Ringle <eddie@eringle.net>