Finally, implemented Database storing of parsed data. Still ugly, but it should work for now.