[BUGFIX] Optimize memory consumption by fetching from \mysqli_result

Followup on #27
And also, please leave the storageBasePath in here . . .