Created variables for each classes, so they are connected.