8 – How can I create an alias or rewrite rule in a php file in a custom module?

I created a custom module very similar to the basic statistics module. That is to say. I have a custom php file in my module located in /modules/custom/my_module/track.php.
This works pretty well, but I do not want to call it exposing all the way. Instead of calling:
I would like to have an alias or redirect (but I do not want to expose the route)

How I can get this? I can not use Drupal routes since I want to omit all overhead and track.php loads only the most needed things like the statistics module.