Startup V1

Startup code to create the database and check existing data.