What are the main objectives of the stock market?