initial commit of code from sourceforge