Improved demo app with database creation at initialization time