synced defs and implemented user config storing