Fixes #281. Moving into seperate folder.

- Also, Javascript and CSS code in their own files.
Fixes #282.
Merge pull request #283 from samyakbhuta/feature/cedExampleImprovements

CED Example improvements