Refactor move init defs to initialize.py