Investment, Liquidity, and Financing under Uncertainty