Changed license to BSD3.
Moved examples to subdirectory.