Added SOURCE_ENGINE constant to core.py