Move Connection struct to separate file.