reforctor frame.py
refactor. replace pkg name common to core