Essays on Housing and Agglomeration