What's the deal with Shareholder Agreements?

What are share classes?
Roles in a Company