initial commit of working stis extraction code