minor refactoring
adding support for method cascading and broadcasting
reorganising the examples and adding new ones on cascading and broadcasting