eZ Publish 5 relying on Symfony2 and twig, modules are created by using Bundles.
The best way to learn on how to interact within the new Symfony stack is to read the available documentation.
Autoloading
Custom autoloaders may be plugged-in. Create the file `app/config/autoload.php`
which will be automatically included if it exists. An example of how this file
can be used is shown in `app/config/autoload.php-EXAMPLE`.
Please DO NOT modify `app/autoload.php`.