Massive refactor. Moved internal db over to sqlite. MUST READ README IF USING OLDER VERSION.