Cleaned up examples directory and added some documentation.