Replaced sqlite wrapper with Mormot Framework