config object -> local variables
extracts module configuration into separate module
comment cleanup
separates create and toggle modules
removes duplication across modules