New manager routines
Old commit with common blocks removed.