fix task 1
fix lib path
first version of chat library.