Reimplemented replay memory and loading of features to require minimum IO operations