documentation updated

separated examples into separate files