What should be used to replace controller.php?

I am upgrading some older modules that currently run in BWC.  I need to replace some actions that are currently in controller.php, How I  do that so they no longer have to run in BWC?

Thank You,

Amy