Initial upload of code. Not yet working.