moved to sqlite from simple json