Issue #6: added code license (http://opensource.org/licenses/BSD-3-Clause)