Major API changes. Also changed the License.txt file.