A software licensing framework