MainModule with main and runs with parameters in terminal