removed some unused variables and added runtime config of cell types
removed some unused variables and added runtime config of cell types

Switch-Media/baoframework,scrypto/baoframework,scrypto/baoframework,Switch-Media/baoframework,scrypto/baoframework,scrypto/baoframework,Switch-Media/baoframework,Switch-Media/baoframework