Implement main module and main executable script