Essays on Bank Capital and Home Production