Working on the data connection/querying functionality.