Implemented Entity manager for iterations