fixed minor bugs
added sql for statuses, parameters, and settings
added a class ProductsTranchesIncludes not previously included
added the directories permission check at the setup