refactor  projects
init chat plugin style