update makefile and README
add BSD license
more license stuff