Made several changes to the model. New licence agreement.