Added examples and documentation