Drop module magic and add build script
fix explain_format logic