Initial commit of code

Intial commit into Github of first working version of project.