Externalizing the Docker struct into lib.rs