Refactored and added examples directory.