Reorganization and Additions

Reorganized the file into its components. Added the provided clientside
code to the project as well. Still no new code additions.