added the license clause and some new features

added the license clause and some new features