add select generation logic in exclusion info UI grid; implement baseclass for py app/info dbinterface and add exclusiondbinterface class