Updated references 

... to examples and code adapted to new structure