Added a BSD license. Added dist to gitignore.