Remove core.py

This has been replaced by code in the core/ package.