Added version 1.0 code

This is the currently available version.