add Config file
add ChatHistory
add sync methods