Initial commit of manager code from SVN