Initial commit with the basic tutorial code with minor modifications.