improve chat controller
rename packages