Start with database (sqlite) code