Added CoreFuntions.py (for realz this time)