Setting up to use a real database