Move to sqlite, still need to add code to insert first user, sequence and components