The structure of the city. Living and dwelling forms