Got the database working.