revamp

added a chat system, revamped structure