chains manager implementation moved to class