Rebuilt everything. Now using an internal database stored in json. Been trapped in this code for years, no longer remember my own name. Send burritos.