Recently Viewed Controller

So I have been trying to figure how to call up recently viewed into some custom pages not using the blocks (as I cant cause I am not using the block system for the pages). I wanted to know does anyone know how to call this controller to show on a custom page. I know the code is on the products.php in the controller folder but I just dont know how to call it. Any help wouldbe greatly appreciated.