Remove chat functionality and retab core.py