Connecting to DB
Created basic data objects.