Moving core library to BSD license.

Signed-off-by: Frank Mertens <frank@cyblogic.de>