Created connection to db, added requirements.