Moved source files to src directory

Moved source files out of the demo directory and Isolated them into a more standard src directory. This should make them easier to find and reduce the possibility of demo files accidentally being included in the minification process.