Update imports in core.py

Added import statements to core.py