Implemented non-blocking database loading