Broke out data connectivity into a separate class.