Majr changes

Change DB sceme: table names and add new table for license store