Licensed code under the New BSD License.

Added LICENSE file and added copyright/license statement to source code