Startup and database creation.