Refactored the examples

Each effect is contained in a object which can create a composer and the corresponding gui.