implemented model class to sql schema so that appropriate tables can be generated on datahub from model spec