To create your own application using EvoAl, you can create a custom main class. Therefore, you implement the `MainClass`, and annotate the class using CDI annotations:
```java
importjavax.enterprise.context.ApplicationScoped;
importjavax.inject.Named;
importde.evoal.core.api.cdi.MainClass;
@ApplicationScoped
@Named("my-main")
publicclassDataGeneratorimplementsMainClass{
@Override
publicvoidrun(){
// your main application code goes here
}
}
```
You have to pass the parameter ```-Bcore:main=my-main``` to EvoAl so it creates, initialises and starts your main class.