Added examples and slight restructuring