Initial Draft

The first draft of the code.