updated license to BSD-3
added composer.json for distribution and .gitignore