move cor manager to Lib