Better plugin structure and remove all subs when clients disconnect