Add clientManager struct and files with methods