Overhaul; Split configuration and logic files; Modular functions.