Create a method only to do the connections
Signed-off-by: Lays Rodrigues <laysrodriguessilva@gmail.com>