Starting to connect the activities and to lay the listeners