create main and config module