Initializing DB on app start.