Main module structure