Model building functionalities exported in lightmodels and used here