Laying foundations for wall module system