Updated to use embedded SQL database for easier deployment