CHG: adding factors to analysis
CHG: added Data directory for examples
CHG: adding factors in analysis