How do pass inteface class and configuration class to the test bench environment

See if this helps:
https://verificationacademy.com/forums/uvm/access-api-module-uvm-driver
It will take you down a rabbit hole but it covers a lot.