initial commit. moved code from the Cliffy.Java git repository