Librarify and remove temporary table creation from db_getGenesInClusters.py