Merge pull request #1 from yrchen/master

Moved examples to sub-directory.
Fixed the extensions.
Updated structure of directory