initial connection to load entities