Review code architecture and add examples
Move basic demonstration in examples folder