Simple models of firms emergence