Initial commit of old PBLManager version.