Three Essays On Internal Capital Markets