Refactored the License class to be able to create License instances